package com.zy.stock.domain;

import java.math.BigDecimal;

import com.zy.stock.dto.BaseDto;

/**
 * 账户
 * @author zhangyi
 *
 */
public class Account extends BaseDto{
	
	private Integer userId;
	
	private String userName;
	
	private BigDecimal floatProfit;//浮动盈亏
	
	private BigDecimal profit;//盈亏
	
	private BigDecimal value;//市值
	
	private BigDecimal totalValue;//总资产
	
	private BigDecimal cash;//现金
	
	private BigDecimal freeCash;//可用现金
	
	private BigDecimal beginCash;//本金
	
	private BigDecimal payCash;//支出金额
	
	private String earningRate;//总收益率
	
	private String cangWei;//仓位
	
	private String year;//年份
			
	public String getYear() {
    return year;
  }

  public void setYear(String year) {
    this.year = year;
  }

  public String getCangWei() {
		return cangWei;
	}

	public void setCangWei(String cangWei) {
		this.cangWei = cangWei;
	}

	public String getEarningRate() {
    return earningRate;
  }

  public void setEarningRate(String earningRate) {
    this.earningRate = earningRate;
  }

  public BigDecimal getPayCash() {
      return payCash;
    }

  public void setPayCash(BigDecimal payCash) {
    this.payCash = payCash;
  }

  public BigDecimal getFreeCash() {
    return freeCash;
  }

  public void setFreeCash(BigDecimal freeCash) {
    this.freeCash = freeCash;
  }

  public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public BigDecimal getFloatProfit() {
		return floatProfit;
	}

	public void setFloatProfit(BigDecimal floatProfit) {
		this.floatProfit = floatProfit;
	}

	public BigDecimal getProfit() {
		return profit;
	}

	public void setProfit(BigDecimal profit) {
		this.profit = profit;
	}

	public BigDecimal getValue() {
		return value;
	}

	public void setValue(BigDecimal value) {
		this.value = value;
	}

	public BigDecimal getTotalValue() {
		return totalValue;
	}

	public void setTotalValue(BigDecimal totalValue) {
		this.totalValue = totalValue;
	}

	public BigDecimal getCash() {
		return cash;
	}

	public void setCash(BigDecimal cash) {
		this.cash = cash;
	}

	public BigDecimal getBeginCash() {
		return beginCash;
	}

	public void setBeginCash(BigDecimal beginCash) {
		this.beginCash = beginCash;
	}	
}
